package com.uroad.liaoningpos.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @创建者 wlw
 * @创建时间 2019/4/4 15:18
 * @描述
 */
public class SettleAccountMDL implements Serializable {
//    {"status":"00","data":{"paylist":[],"countsum":0,"amountsum":0}}
    private List<PayList> paylist;
    private String countsum;
    private String amountsum;
    private String created;

    public List<PayList> getPaylist() {
        if (paylist == null) {
            return new ArrayList<>();
        }
        return paylist;
    }

    public void setPaylist(List<PayList> paylist) {
        this.paylist = paylist;
    }

    public String getCountsum() {
        return countsum == null ? "" : countsum;
    }

    public void setCountsum(String countsum) {
        this.countsum = countsum;
    }

    public String getAmountsum() {
        return amountsum == null ? "" : amountsum;
    }

    public void setAmountsum(String amountsum) {
        this.amountsum = amountsum;
    }

    public String getCreated() {
        return created == null ? "" : created;
    }

    public void setCreated(String created) {
        this.created = created;
    }

    public class PayList implements Serializable{
        private String count;
        private String amount;
        private String type;

        public String getCount() {
            return count == null ? "" : count;
        }

        public void setCount(String count) {
            this.count = count;
        }

        public String getAmount() {
            return amount == null ? "" : amount;
        }

        public void setAmount(String amount) {
            this.amount = amount;
        }

        public String getType() {
            return type == null ? "" : type;
        }

        public void setType(String type) {
            this.type = type;
        }
    }
}
